package edu.upf.opencities.web.manager;

import edu.upf.opencities.datamodel.*;

/**
 *
 * @author victor
 */
public interface ServiceManager {
    /**
     * 
     * @return 
     */
    public Services getServices(String key, String value);
    
    /**
     * 
     * @return 
     */
    public Service getOneService(String serviceId);
    
    /**
     * 
     * @param service
     * @return
     */
    public Service createNewService(Service service, User user);
    
   
    /**
     * 
     * @param service
     * @param user
     */
    public void deleteService(Service service, User user);
    
    /**
     * 
     * @param service
     */
    public void addTwitter(Service service, User user);
    
       
    
}
